import { create } from 'dva-core-ts';
import createLoading from 'dva-loading-ts'
import models from '@/models/index';

const app = create();
models.forEach(item => {
    app.model(item)
});
app.use(createLoading());
app.start();

export default app._store